﻿/********
* 
* 
*  Description:
*  Create By Kain at 4/2/2011 2:57:10 PM
*  
*
*  Revision History:
*  Date                  Who                 What
*  
* 
*/

#region

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Description;

#endregion

namespace Cherry.Agile.ServiceModel.Runtime
{
    public interface IService
    {
        ServiceInfo Info { get; }

        Type ServiceType { get; }

        RunState RunState { get; }

        Type[] Contracts { get;  }

        ServiceEndpoint[] ServiceEndpointes { get; }

        void Run();

        void Stop();
    }
}
